package zust.study.thread.other_demo;

/**
 * @author senselyan
 * @Description: ${todo}
 * @date 2018/5/29 17:03
 */
public class FindJavaThreadInTaskManager {

    public static void main(String[] args) {

        Thread thread = new Thread(new Worker());

        thread.start();

    }

    static class Worker implements Runnable {

        @Override

        public void run() {

            while (true) {

                System.out.println("Thread Name:" + Thread.currentThread().getName());

            }

        }

    }

}